#-------------------------------------------------
#
# Project created by 华磊　２０１７０７０１
#
#-------------------------------------------------

#QT += xml
QT += core

#DEFINES += D_USE_UI
#DEFINES += D_USE_MOTION_UNIT_TEST
DEFINES += QT_NO_PRINTER
contains( DEFINES, D_USE_VREP|D_USE_UI ){
QT    +=  gui
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
}

INCLUDEPATH += $$PWD
DEPENDPATH += $$PWD

#TARGET = MotionServer
#TEMPLATE = lib

#DEFINES += MCCONTROLLERINTERPRETER_LIBRARY

#CONFIG += staticlib
#DESTDIR = /tcrwork/linuxController/trunk/TcrController/lib/$$TARGET

include (Axis/Axis.pri)

SOURCES += $$PWD/mccontrollerinterpreter.cpp \
    $$PWD/mccontrollerthread.cpp \
    ../MotionServer/Coordinate/coordinate.cpp \
    $$PWD/TrajectoryServer/trajectoryserver.cpp \
    $$PWD/jogcontrol.cpp \
    $$PWD/robotattribute.cpp \
    $$PWD/Coordinate/coordinatemanager.cpp \
    $$PWD/Coordinate/sixjointrobot.cpp \
    $$PWD/Coordinate/datarecord.cpp \
    $$PWD/motionmessage.cpp \
    $$PWD/TestUi/motionform.cpp \
    $$PWD/TestUi/motorstatusview.cpp \
    $$PWD/TestUi/sourcePlot/qcustomplot.cpp \
    $$PWD/TestUi/sourcePlot/qcustomplotzoom.cpp



HEADERS += $$PWD/mccontrollerinterpreter.h\
    $$PWD/mccontrollerthread.h \
    $$PWD/Coordinate/coordinate.h \
    $$PWD/TrajectoryServer/trajectoryserver.h \
    $$PWD/controllercommondefine.h \
    $$PWD/Axis/trajectoryudefine.h \
    $$PWD/jogcontrol.h \
    $$PWD/robotattribute.h \
    $$PWD/Coordinate/coordinatemanager.h \
    $$PWD/Coordinate/sixjointrobot.h \
    $$PWD/Coordinate/datarecord.h \
    $$PWD/motionmessage.h \
    $$PWD/TestUi/motionform.h \
    $$PWD/TestUi/motorstatusview.h \
    $$PWD/TestUi/includePlot/qcustomplot.h \
    $$PWD/TestUi/includePlot/qcustomplotzoom.h

INCLUDEPATH +=../DomParser
LIBS += -L/tcrwork/linuxController/trunk/TcrController/lib -lDomParser
INCLUDEPATH +=../Md5Check
LIBS += -L/tcrwork/linuxController/trunk/TcrController/lib -lMd5Check
LIBS += -L../../lib -lXmlParse

unix:!macx: LIBS +=  /tcrwork/linuxController/trunk/TcrController/lib/kdl/liborocos-kdl.so.1.3.0
INCLUDEPATH += ../../include/kdl
DEPENDPATH += ../../include/kdl

INCLUDEPATH += ../../include/
DEPENDPATH += ../../include/

INCLUDEPATH += ../../include/alLib/Eigen
DEPENDPATH += ../../include/alLib/Eigen

INCLUDEPATH += ../../include/alLib/gsl
DEPENDPATH += ../../include/alLib/gsl

INCLUDEPATH += ../../include/alLib
DEPENDPATH += ../../include/alLib




FORMS += \
    $$PWD/TestUi/motorstatusview.ui \
    $$PWD/TestUi/motionform.ui
